﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnHook.Framework.RabbitMQ
{

    /// <summary>
    /// 消息对象
    /// </summary>
    public class MQMsg
    {
        public MQMsg(string msg)
        {
            this.Msg = msg;
        }
        public MQMsg()
        {
            this.Msg = string.Empty;
        }
        /// <summary>
        /// 重试次数
        /// </summary>
        public int RetryCount { get; set; } = 0;

        public string Msg { get; set; }
    }
}
